﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    class Taila : Base
    {

      
        public Taila(string heroName, string heroInfo, string nickName, int atrack, int protect, int speed) : base(heroName, heroInfo, nickName, atrack, protect, speed) { }
        public void Common()
        {
            Console.WriteLine("他的名字是{0}，是{1}，技能是{2}，攻击力是{3},防御力是{4}，速度{5}", HeroName, HeroInfo, NickName, Atrack, Protect, Speed);

        }
    }
}
